//
//  YMIMConfig.h
//  YMIM
//
//  Created by reyzhang on 2022/3/17.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN



/**
 *  该类为 SDK 的配置项。如appkey,appsecret
 *
 */
@interface YMIMConfig : NSObject

/**
 *  app key，是项目的唯一标识
 *
 */
@property(nonatomic, copy, readonly) NSString *appkey;

/**
 *  app secret，是项目的唯一密钥
 *
 */
@property(nonatomic, copy, readonly) NSString *appsecret;


/**
 *  控制台是否输出日志。默认值为 `NO`
 *
 */
@property(nonatomic, assign) BOOL enableConsoleLog;

/**
 * 只读
 */
@property(nonatomic, copy, readonly) NSString *wssURL;


/**
 *只读
 */
@property(nonatomic, copy, readonly) NSString *httpsURL;




/**
 *  获取对象实例
 *
 *  @param appkey  app key
 *
 *  @param appsecret  app secret
 
 */
+ (instancetype)configWithAppkey:(NSString *)appkey appsecret:(NSString *)appsecret;


@end

NS_ASSUME_NONNULL_END
